<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ProductSpec extends Model
{
    protected $guarded = ['id'];
    protected $appends = ['spec_price_txt','spec_group_price_txt'];

    public function getSpecPriceTxtAttribute()
    {
    	return $this->spec_price/100;
    }

    public function getSpecGroupPriceTxtAttribute()
    {
    	return $this->spec_group_price/100;
    }

    
}
